package pl.vanta.utils.gui.tables.renderers;

public enum SizeRendererParam
{
	B(1), KiB(1024), MiB(1024 * 1024), GiB(1024 * 1024 * 1024), KB(1000), MB(1000 * 1000), GB(1000 * 1000 * 1000);

	private int	divider;

	SizeRendererParam(int divider)
	{
		this.divider = divider;
	}

	public int getDivider()
	{
		return this.divider;
	}

	public String getUnit()
	{
		return this.toString();
	}
}